how to detect and remove heteroskedasticity